
import "./index.css"
import Top from "../../../components/top"

import React from 'react'
import { withRouter } from "react-router-dom";

 function HomeShonp() {
  return (
    <div className="you">
                <Top title="鱼酷商城"></Top>
                <div className="ji">
                    <div className="tai">
                        <p>当前积分：<span>0</span></p>
                        <span>积分规则</span>
                    </div>
                </div>
                <div className="mei">
                    <span>代金券</span>
                    <span>兑换券</span>
                </div>
                <div className="bb">
                    <ul>
                        <li>
                            <img src="/img/coupons/优惠券.png" alt=''/>
                            <p>会员专享10元券</p>
                            <span>300积分</span>
                            <button onClick={()=>{this.props.history.push({pathname:"/Detail"})}}>兑换</button>
                        </li>
                    </ul>
                </div>
            </div>
        );
}
export default withRouter(HomeShonp)
